package com.taotao.content.service;

import com.taotao.common.pojo.EasyUiDataGridResult;
import com.taotao.common.pojo.TaotaoResult;
import com.taotao.manager.pojo.TbContent;

import java.util.List;

public interface ContentService {
    EasyUiDataGridResult getContentList(Integer page, Integer rows, Long categoryId);
    List<TbContent> getContentListByCategoryId(Long categoryId);

    TaotaoResult saveContent(TbContent content);
    TaotaoResult editContent(TbContent content);
    TaotaoResult deleteBatchContent(String ids);
}
